package com.sne.common.task;

import com.sne.common.util.TaskInvokeUtil;
import com.sne.monitor.entity.MonitorTimeTask;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理（允许并发执行）
 * @author fanghh
 * @date 2020/12/14
 */
public class QuartzJobExecution extends AbstractQuartzJob{
    @Override
    protected void doExecute(JobExecutionContext context, MonitorTimeTask timeTask) throws Exception {
        TaskInvokeUtil.invokeMethod(timeTask);
    }
}
